import { useServerRequest } from "~/composables/useServerRequest";

export const getWxQrCode = (params) => {
  return useServerRequest("/userapi/auth/getWxQrCode", params);
};

export const checkWxQrCode = (params) => {
  return useServerRequest("/userapi/auth/checkWxQrCode", params);
};

export const login = (data) => {
  return useServerRequest("/userapi/auth/login", data);
};

export const getTUserBase = (data) => {
  return useServerRequest("/userapi/tUser/getTUserBase", data);
};
